package com.design.observer;

public class TerminalExpression implements Expression {
	private String ter;

	public TerminalExpression(String ter) {
		this.setTer(ter);
	}

	@Override
	public int interpreter(Context context) {
		return context.get(this);
	}

	public String getTer() {
		return ter;
	}

	public void setTer(String ter) {
		this.ter = ter;
	}

}
